<!DOCTYPE html>
<html lang="en" dir="ltr"
    xmlns:dc="http://purl.org/dc/terms/">
<head>
    <meta charset="utf-8" />
    <meta name="generator" content="diff2html.py (http://git.droids-corp.org/gitweb/?p=diff2html)" />
    <!--meta name="author" content="Fill in" /-->
    <title>HTML Diff http/server/request_handler.cpp</title>
    <link rel="shortcut icon" href="" type="image/png" />
    <meta property="dc:language" content="en" />
    <!--meta property="dc:date" content="" /-->
    <meta property="dc:modified" content="2018-12-12T09:34:27.445491+01:00" />
    <meta name="description" content="File comparison" />
    <meta property="dc:abstract" content="File comparison" />
    <style>
        table { border:0px; border-collapse:collapse; width: 100%; font-size:0.75em; font-family: Lucida Console, monospace }
        td.line { color:#8080a0 }
        th { background: black; color: white }
        tr.diffunmodified td { background: #D0D0E0 }
        tr.diffhunk td { background: #A0A0A0 }
        tr.diffadded td { background: #CCFFCC }
        tr.diffdeleted td { background: #FFCCCC }
        tr.diffchanged td { background: #FFFFA0 }
        span.diffchanged2 { background: #E0C880 }
        span.diffponct { color: #B08080 }
        tr.diffmisc td {}
        tr.diffseparator td {}
    </style>
</head>
<body>

    <table class="diff">
<tr><th colspan='2'>src/&#8203;examples/&#8203;cpp03/&#8203;http/&#8203;server/&#8203;request_handler.&#8203;cpp</th><th colspan='2'>src/&#8203;examples/&#8203;cpp11/&#8203;http/&#8203;server/&#8203;request_handler.&#8203;cpp</th></tr>
<tr class="diffhunk"><td colspan="2">&#8942;</td><td colspan="2">&#8942;</td></tr><tr class="diffunmodified"><td class="diffline">1 </td><td class="diffpresent">/&#8203;/&#8203;</td><td class="diffline">1 </td><td class="diffpresent">/&#8203;/&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">2 </td><td class="diffpresent">/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;request_handler.&#8203;cpp</td><td class="diffline">2 </td><td class="diffpresent">/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;request_handler.&#8203;cpp</td></tr>
<tr class="diffunmodified"><td class="diffline">3 </td><td class="diffpresent">/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;~~~~~~~~~~~~~~~~~~~</td><td class="diffline">3 </td><td class="diffpresent">/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;~~~~~~~~~~~~~~~~~~~</td></tr>
<tr class="diffunmodified"><td class="diffline">4 </td><td class="diffpresent">/&#8203;/&#8203;</td><td class="diffline">4 </td><td class="diffpresent">/&#8203;/&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">5 </td><td class="diffpresent">/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;Copyright<span class="diffponct">&middot;</span>&#8203;(c)&#8203;<span class="diffponct">&middot;</span>&#8203;2003-&#8203;2018<span class="diffponct">&middot;</span>&#8203;Christopher<span class="diffponct">&middot;</span>&#8203;M.&#8203;<span class="diffponct">&middot;</span>&#8203;Kohlhoff<span class="diffponct">&middot;</span>&#8203;(chris<span class="diffponct">&middot;</span>&#8203;at<span class="diffponct">&middot;</span>&#8203;kohlhoff<span class="diffponct">&middot;</span>&#8203;dot<span class="diffponct">&middot;</span>&#8203;com)&#8203;</td><td class="diffline">5 </td><td class="diffpresent">/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;Copyright<span class="diffponct">&middot;</span>&#8203;(c)&#8203;<span class="diffponct">&middot;</span>&#8203;2003-&#8203;2018<span class="diffponct">&middot;</span>&#8203;Christopher<span class="diffponct">&middot;</span>&#8203;M.&#8203;<span class="diffponct">&middot;</span>&#8203;Kohlhoff<span class="diffponct">&middot;</span>&#8203;(chris<span class="diffponct">&middot;</span>&#8203;at<span class="diffponct">&middot;</span>&#8203;kohlhoff<span class="diffponct">&middot;</span>&#8203;dot<span class="diffponct">&middot;</span>&#8203;com)&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">6 </td><td class="diffpresent">/&#8203;/&#8203;</td><td class="diffline">6 </td><td class="diffpresent">/&#8203;/&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">7 </td><td class="diffpresent">/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;Distributed<span class="diffponct">&middot;</span>&#8203;under<span class="diffponct">&middot;</span>&#8203;the<span class="diffponct">&middot;</span>&#8203;Boost<span class="diffponct">&middot;</span>&#8203;Software<span class="diffponct">&middot;</span>&#8203;License,&#8203;<span class="diffponct">&middot;</span>&#8203;Version<span class="diffponct">&middot;</span>&#8203;1.&#8203;0.&#8203;<span class="diffponct">&middot;</span>&#8203;(See<span class="diffponct">&middot;</span>&#8203;accompanying</td><td class="diffline">7 </td><td class="diffpresent">/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;Distributed<span class="diffponct">&middot;</span>&#8203;under<span class="diffponct">&middot;</span>&#8203;the<span class="diffponct">&middot;</span>&#8203;Boost<span class="diffponct">&middot;</span>&#8203;Software<span class="diffponct">&middot;</span>&#8203;License,&#8203;<span class="diffponct">&middot;</span>&#8203;Version<span class="diffponct">&middot;</span>&#8203;1.&#8203;0.&#8203;<span class="diffponct">&middot;</span>&#8203;(See<span class="diffponct">&middot;</span>&#8203;accompanying</td></tr>
<tr class="diffunmodified"><td class="diffline">8 </td><td class="diffpresent">/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;file<span class="diffponct">&middot;</span>&#8203;LICENSE_1_0.&#8203;txt<span class="diffponct">&middot;</span>&#8203;or<span class="diffponct">&middot;</span>&#8203;copy<span class="diffponct">&middot;</span>&#8203;at<span class="diffponct">&middot;</span>&#8203;http:&#8203;/&#8203;/&#8203;www.&#8203;boost.&#8203;org/&#8203;LICENSE_1_0.&#8203;txt)&#8203;</td><td class="diffline">8 </td><td class="diffpresent">/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;file<span class="diffponct">&middot;</span>&#8203;LICENSE_1_0.&#8203;txt<span class="diffponct">&middot;</span>&#8203;or<span class="diffponct">&middot;</span>&#8203;copy<span class="diffponct">&middot;</span>&#8203;at<span class="diffponct">&middot;</span>&#8203;http:&#8203;/&#8203;/&#8203;www.&#8203;boost.&#8203;org/&#8203;LICENSE_1_0.&#8203;txt)&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">9 </td><td class="diffpresent">/&#8203;/&#8203;</td><td class="diffline">9 </td><td class="diffpresent">/&#8203;/&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">10 </td><td class="diffpresent"></td><td class="diffline">10 </td><td class="diffpresent"></td></tr>
<tr class="diffunmodified"><td class="diffline">11 </td><td class="diffpresent">#include<span class="diffponct">&middot;</span>&#8203;&quot;request_handler.&#8203;hpp&quot;</td><td class="diffline">11 </td><td class="diffpresent">#include<span class="diffponct">&middot;</span>&#8203;&quot;request_handler.&#8203;hpp&quot;</td></tr>
<tr class="diffunmodified"><td class="diffline">12 </td><td class="diffpresent">#include<span class="diffponct">&middot;</span>&#8203;&lt;fstream&gt;</td><td class="diffline">12 </td><td class="diffpresent">#include<span class="diffponct">&middot;</span>&#8203;&lt;fstream&gt;</td></tr>
<tr class="diffunmodified"><td class="diffline">13 </td><td class="diffpresent">#include<span class="diffponct">&middot;</span>&#8203;&lt;sstream&gt;</td><td class="diffline">13 </td><td class="diffpresent">#include<span class="diffponct">&middot;</span>&#8203;&lt;sstream&gt;</td></tr>
<tr class="diffunmodified"><td class="diffline">14 </td><td class="diffpresent">#include<span class="diffponct">&middot;</span>&#8203;&lt;string&gt;</td><td class="diffline">14 </td><td class="diffpresent">#include<span class="diffponct">&middot;</span>&#8203;&lt;string&gt;</td></tr>
<tr class="diffdeleted"><td class="diffline">15 </td><td class="diffpresent">#include<span class="diffponct">&middot;</span>&#8203;&lt;boost/&#8203;lexical_cast.&#8203;hpp&gt;</td><td colspan="2"></td></tr>
<tr class="diffunmodified"><td class="diffline">16 </td><td class="diffpresent">#include<span class="diffponct">&middot;</span>&#8203;&quot;mime_types.&#8203;hpp&quot;</td><td class="diffline">15 </td><td class="diffpresent">#include<span class="diffponct">&middot;</span>&#8203;&quot;mime_types.&#8203;hpp&quot;</td></tr>
<tr class="diffunmodified"><td class="diffline">17 </td><td class="diffpresent">#include<span class="diffponct">&middot;</span>&#8203;&quot;reply.&#8203;hpp&quot;</td><td class="diffline">16 </td><td class="diffpresent">#include<span class="diffponct">&middot;</span>&#8203;&quot;reply.&#8203;hpp&quot;</td></tr>
<tr class="diffunmodified"><td class="diffline">18 </td><td class="diffpresent">#include<span class="diffponct">&middot;</span>&#8203;&quot;request.&#8203;hpp&quot;</td><td class="diffline">17 </td><td class="diffpresent">#include<span class="diffponct">&middot;</span>&#8203;&quot;request.&#8203;hpp&quot;</td></tr>
<tr class="diffunmodified"><td class="diffline">19 </td><td class="diffpresent"></td><td class="diffline">18 </td><td class="diffpresent"></td></tr>
<tr class="diffunmodified"><td class="diffline">20 </td><td class="diffpresent">namespace<span class="diffponct">&middot;</span>&#8203;http<span class="diffponct">&middot;</span>&#8203;{</td><td class="diffline">19 </td><td class="diffpresent">namespace<span class="diffponct">&middot;</span>&#8203;http<span class="diffponct">&middot;</span>&#8203;{</td></tr>
<tr class="diffunmodified"><td class="diffline">21 </td><td class="diffpresent">namespace<span class="diffponct">&middot;</span>&#8203;server<span class="diffponct">&middot;</span>&#8203;{</td><td class="diffline">20 </td><td class="diffpresent">namespace<span class="diffponct">&middot;</span>&#8203;server<span class="diffponct">&middot;</span>&#8203;{</td></tr>
<tr class="diffunmodified"><td class="diffline">22 </td><td class="diffpresent"></td><td class="diffline">21 </td><td class="diffpresent"></td></tr>
<tr class="diffunmodified"><td class="diffline">23 </td><td class="diffpresent">request_handler:&#8203;:&#8203;request_handler(const&#8203;<span class="diffponct">&middot;</span>&#8203;std:&#8203;:&#8203;string&amp;<span class="diffponct">&middot;</span>&#8203;doc_root)&#8203;</td><td class="diffline">22 </td><td class="diffpresent">request_handler:&#8203;:&#8203;request_handler(const&#8203;<span class="diffponct">&middot;</span>&#8203;std:&#8203;:&#8203;string&amp;<span class="diffponct">&middot;</span>&#8203;doc_root)&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">24 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;:&#8203;<span class="diffponct">&middot;</span>&#8203;doc_root_(doc_root)&#8203;</td><td class="diffline">23 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;:&#8203;<span class="diffponct">&middot;</span>&#8203;doc_root_(doc_root)&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">25 </td><td class="diffpresent">{</td><td class="diffline">24 </td><td class="diffpresent">{</td></tr>
<tr class="diffunmodified"><td class="diffline">26 </td><td class="diffpresent">}</td><td class="diffline">25 </td><td class="diffpresent">}</td></tr>
<tr class="diffunmodified"><td class="diffline">27 </td><td class="diffpresent"></td><td class="diffline">26 </td><td class="diffpresent"></td></tr>
<tr class="diffunmodified"><td class="diffline">28 </td><td class="diffpresent">void<span class="diffponct">&middot;</span>&#8203;request_handler:&#8203;:&#8203;handle_request(const<span class="diffponct">&middot;</span>&#8203;request&amp;<span class="diffponct">&middot;</span>&#8203;req,&#8203;<span class="diffponct">&middot;</span>&#8203;reply&amp;<span class="diffponct">&middot;</span>&#8203;rep)&#8203;</td><td class="diffline">27 </td><td class="diffpresent">void<span class="diffponct">&middot;</span>&#8203;request_handler:&#8203;:&#8203;handle_request(const<span class="diffponct">&middot;</span>&#8203;request&amp;<span class="diffponct">&middot;</span>&#8203;req,&#8203;<span class="diffponct">&middot;</span>&#8203;reply&amp;<span class="diffponct">&middot;</span>&#8203;rep)&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">29 </td><td class="diffpresent">{</td><td class="diffline">28 </td><td class="diffpresent">{</td></tr>
<tr class="diffunmodified"><td class="diffline">30 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;Decode<span class="diffponct">&middot;</span>&#8203;url<span class="diffponct">&middot;</span>&#8203;to<span class="diffponct">&middot;</span>&#8203;path.&#8203;</td><td class="diffline">29 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;Decode<span class="diffponct">&middot;</span>&#8203;url<span class="diffponct">&middot;</span>&#8203;to<span class="diffponct">&middot;</span>&#8203;path.&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">31 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;std:&#8203;:&#8203;string<span class="diffponct">&middot;</span>&#8203;request_path;&#8203;</td><td class="diffline">30 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;std:&#8203;:&#8203;string<span class="diffponct">&middot;</span>&#8203;request_path;&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">32 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;if<span class="diffponct">&middot;</span>&#8203;(!url_decode(req.&#8203;uri,&#8203;<span class="diffponct">&middot;</span>&#8203;request_path)&#8203;)&#8203;</td><td class="diffline">31 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;if<span class="diffponct">&middot;</span>&#8203;(!url_decode(req.&#8203;uri,&#8203;<span class="diffponct">&middot;</span>&#8203;request_path)&#8203;)&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">33 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;{</td><td class="diffline">32 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;{</td></tr>
<tr class="diffunmodified"><td class="diffline">34 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;rep<span class="diffponct">&middot;</span>&#8203;=<span class="diffponct">&middot;</span>&#8203;reply:&#8203;:&#8203;stock_reply(reply:&#8203;:&#8203;bad_request)&#8203;;&#8203;</td><td class="diffline">33 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;rep<span class="diffponct">&middot;</span>&#8203;=<span class="diffponct">&middot;</span>&#8203;reply:&#8203;:&#8203;stock_reply(reply:&#8203;:&#8203;bad_request)&#8203;;&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">35 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;return;&#8203;</td><td class="diffline">34 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;return;&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">36 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;}</td><td class="diffline">35 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;}</td></tr>
<tr class="diffunmodified"><td class="diffline">37 </td><td class="diffpresent"></td><td class="diffline">36 </td><td class="diffpresent"></td></tr>
<tr class="diffunmodified"><td class="diffline">38 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;Request<span class="diffponct">&middot;</span>&#8203;path<span class="diffponct">&middot;</span>&#8203;must<span class="diffponct">&middot;</span>&#8203;be<span class="diffponct">&middot;</span>&#8203;absolute<span class="diffponct">&middot;</span>&#8203;and<span class="diffponct">&middot;</span>&#8203;not<span class="diffponct">&middot;</span>&#8203;contain<span class="diffponct">&middot;</span>&#8203;&quot;.&#8203;.&#8203;&quot;.&#8203;</td><td class="diffline">37 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;Request<span class="diffponct">&middot;</span>&#8203;path<span class="diffponct">&middot;</span>&#8203;must<span class="diffponct">&middot;</span>&#8203;be<span class="diffponct">&middot;</span>&#8203;absolute<span class="diffponct">&middot;</span>&#8203;and<span class="diffponct">&middot;</span>&#8203;not<span class="diffponct">&middot;</span>&#8203;contain<span class="diffponct">&middot;</span>&#8203;&quot;.&#8203;.&#8203;&quot;.&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">39 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;if<span class="diffponct">&middot;</span>&#8203;(request_path.&#8203;empty()&#8203;<span class="diffponct">&middot;</span>&#8203;||<span class="diffponct">&middot;</span>&#8203;request_path[0]<span class="diffponct">&middot;</span>&#8203;!=<span class="diffponct">&middot;</span>&#8203;'/&#8203;'</td><td class="diffline">38 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;if<span class="diffponct">&middot;</span>&#8203;(request_path.&#8203;empty()&#8203;<span class="diffponct">&middot;</span>&#8203;||<span class="diffponct">&middot;</span>&#8203;request_path[0]<span class="diffponct">&middot;</span>&#8203;!=<span class="diffponct">&middot;</span>&#8203;'/&#8203;'</td></tr>
<tr class="diffunmodified"><td class="diffline">40 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;||<span class="diffponct">&middot;</span>&#8203;request_path.&#8203;find(&quot;.&#8203;.&#8203;&quot;)&#8203;<span class="diffponct">&middot;</span>&#8203;!=<span class="diffponct">&middot;</span>&#8203;std:&#8203;:&#8203;string:&#8203;:&#8203;npos)&#8203;</td><td class="diffline">39 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;||<span class="diffponct">&middot;</span>&#8203;request_path.&#8203;find(&quot;.&#8203;.&#8203;&quot;)&#8203;<span class="diffponct">&middot;</span>&#8203;!=<span class="diffponct">&middot;</span>&#8203;std:&#8203;:&#8203;string:&#8203;:&#8203;npos)&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">41 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;{</td><td class="diffline">40 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;{</td></tr>
<tr class="diffunmodified"><td class="diffline">42 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;rep<span class="diffponct">&middot;</span>&#8203;=<span class="diffponct">&middot;</span>&#8203;reply:&#8203;:&#8203;stock_reply(reply:&#8203;:&#8203;bad_request)&#8203;;&#8203;</td><td class="diffline">41 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;rep<span class="diffponct">&middot;</span>&#8203;=<span class="diffponct">&middot;</span>&#8203;reply:&#8203;:&#8203;stock_reply(reply:&#8203;:&#8203;bad_request)&#8203;;&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">43 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;return;&#8203;</td><td class="diffline">42 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;return;&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">44 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;}</td><td class="diffline">43 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;}</td></tr>
<tr class="diffunmodified"><td class="diffline">45 </td><td class="diffpresent"></td><td class="diffline">44 </td><td class="diffpresent"></td></tr>
<tr class="diffunmodified"><td class="diffline">46 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;If<span class="diffponct">&middot;</span>&#8203;path<span class="diffponct">&middot;</span>&#8203;ends<span class="diffponct">&middot;</span>&#8203;in<span class="diffponct">&middot;</span>&#8203;slash<span class="diffponct">&middot;</span>&#8203;(i.&#8203;e.&#8203;<span class="diffponct">&middot;</span>&#8203;is<span class="diffponct">&middot;</span>&#8203;a<span class="diffponct">&middot;</span>&#8203;directory)&#8203;<span class="diffponct">&middot;</span>&#8203;then<span class="diffponct">&middot;</span>&#8203;add<span class="diffponct">&middot;</span>&#8203;&quot;index.&#8203;html&quot;.&#8203;</td><td class="diffline">45 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;If<span class="diffponct">&middot;</span>&#8203;path<span class="diffponct">&middot;</span>&#8203;ends<span class="diffponct">&middot;</span>&#8203;in<span class="diffponct">&middot;</span>&#8203;slash<span class="diffponct">&middot;</span>&#8203;(i.&#8203;e.&#8203;<span class="diffponct">&middot;</span>&#8203;is<span class="diffponct">&middot;</span>&#8203;a<span class="diffponct">&middot;</span>&#8203;directory)&#8203;<span class="diffponct">&middot;</span>&#8203;then<span class="diffponct">&middot;</span>&#8203;add<span class="diffponct">&middot;</span>&#8203;&quot;index.&#8203;html&quot;.&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">47 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;if<span class="diffponct">&middot;</span>&#8203;(request_path[request&#8203;_path.&#8203;size()&#8203;<span class="diffponct">&middot;</span>&#8203;-&#8203;<span class="diffponct">&middot;</span>&#8203;1]<span class="diffponct">&middot;</span>&#8203;==<span class="diffponct">&middot;</span>&#8203;'/&#8203;')&#8203;</td><td class="diffline">46 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;if<span class="diffponct">&middot;</span>&#8203;(request_path[request&#8203;_path.&#8203;size()&#8203;<span class="diffponct">&middot;</span>&#8203;-&#8203;<span class="diffponct">&middot;</span>&#8203;1]<span class="diffponct">&middot;</span>&#8203;==<span class="diffponct">&middot;</span>&#8203;'/&#8203;')&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">48 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;{</td><td class="diffline">47 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;{</td></tr>
<tr class="diffunmodified"><td class="diffline">49 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;request_path<span class="diffponct">&middot;</span>&#8203;+=<span class="diffponct">&middot;</span>&#8203;&quot;index.&#8203;html&quot;;&#8203;</td><td class="diffline">48 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;request_path<span class="diffponct">&middot;</span>&#8203;+=<span class="diffponct">&middot;</span>&#8203;&quot;index.&#8203;html&quot;;&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">50 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;}</td><td class="diffline">49 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;}</td></tr>
<tr class="diffunmodified"><td class="diffline">51 </td><td class="diffpresent"></td><td class="diffline">50 </td><td class="diffpresent"></td></tr>
<tr class="diffunmodified"><td class="diffline">52 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;Determine<span class="diffponct">&middot;</span>&#8203;the<span class="diffponct">&middot;</span>&#8203;file<span class="diffponct">&middot;</span>&#8203;extension.&#8203;</td><td class="diffline">51 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;Determine<span class="diffponct">&middot;</span>&#8203;the<span class="diffponct">&middot;</span>&#8203;file<span class="diffponct">&middot;</span>&#8203;extension.&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">53 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;std:&#8203;:&#8203;size_t<span class="diffponct">&middot;</span>&#8203;last_slash_pos<span class="diffponct">&middot;</span>&#8203;=<span class="diffponct">&middot;</span>&#8203;request_path.&#8203;find_last_of(&quot;/&#8203;&quot;)&#8203;;&#8203;</td><td class="diffline">52 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;std:&#8203;:&#8203;size_t<span class="diffponct">&middot;</span>&#8203;last_slash_pos<span class="diffponct">&middot;</span>&#8203;=<span class="diffponct">&middot;</span>&#8203;request_path.&#8203;find_last_of(&quot;/&#8203;&quot;)&#8203;;&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">54 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;std:&#8203;:&#8203;size_t<span class="diffponct">&middot;</span>&#8203;last_dot_pos<span class="diffponct">&middot;</span>&#8203;=<span class="diffponct">&middot;</span>&#8203;request_path.&#8203;find_last_of(&quot;.&#8203;&quot;)&#8203;;&#8203;</td><td class="diffline">53 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;std:&#8203;:&#8203;size_t<span class="diffponct">&middot;</span>&#8203;last_dot_pos<span class="diffponct">&middot;</span>&#8203;=<span class="diffponct">&middot;</span>&#8203;request_path.&#8203;find_last_of(&quot;.&#8203;&quot;)&#8203;;&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">55 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;std:&#8203;:&#8203;string<span class="diffponct">&middot;</span>&#8203;extension;&#8203;</td><td class="diffline">54 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;std:&#8203;:&#8203;string<span class="diffponct">&middot;</span>&#8203;extension;&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">56 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;if<span class="diffponct">&middot;</span>&#8203;(last_dot_pos<span class="diffponct">&middot;</span>&#8203;!=<span class="diffponct">&middot;</span>&#8203;std:&#8203;:&#8203;string:&#8203;:&#8203;npos<span class="diffponct">&middot;</span>&#8203;&amp;&amp;<span class="diffponct">&middot;</span>&#8203;last_dot_pos<span class="diffponct">&middot;</span>&#8203;&gt;<span class="diffponct">&middot;</span>&#8203;last_slash_pos)&#8203;</td><td class="diffline">55 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;if<span class="diffponct">&middot;</span>&#8203;(last_dot_pos<span class="diffponct">&middot;</span>&#8203;!=<span class="diffponct">&middot;</span>&#8203;std:&#8203;:&#8203;string:&#8203;:&#8203;npos<span class="diffponct">&middot;</span>&#8203;&amp;&amp;<span class="diffponct">&middot;</span>&#8203;last_dot_pos<span class="diffponct">&middot;</span>&#8203;&gt;<span class="diffponct">&middot;</span>&#8203;last_slash_pos)&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">57 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;{</td><td class="diffline">56 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;{</td></tr>
<tr class="diffunmodified"><td class="diffline">58 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;extension<span class="diffponct">&middot;</span>&#8203;=<span class="diffponct">&middot;</span>&#8203;request_path.&#8203;substr(last_dot_pos<span class="diffponct">&middot;</span>&#8203;+<span class="diffponct">&middot;</span>&#8203;1)&#8203;;&#8203;</td><td class="diffline">57 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;extension<span class="diffponct">&middot;</span>&#8203;=<span class="diffponct">&middot;</span>&#8203;request_path.&#8203;substr(last_dot_pos<span class="diffponct">&middot;</span>&#8203;+<span class="diffponct">&middot;</span>&#8203;1)&#8203;;&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">59 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;}</td><td class="diffline">58 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;}</td></tr>
<tr class="diffunmodified"><td class="diffline">60 </td><td class="diffpresent"></td><td class="diffline">59 </td><td class="diffpresent"></td></tr>
<tr class="diffunmodified"><td class="diffline">61 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;Open<span class="diffponct">&middot;</span>&#8203;the<span class="diffponct">&middot;</span>&#8203;file<span class="diffponct">&middot;</span>&#8203;to<span class="diffponct">&middot;</span>&#8203;send<span class="diffponct">&middot;</span>&#8203;back.&#8203;</td><td class="diffline">60 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;Open<span class="diffponct">&middot;</span>&#8203;the<span class="diffponct">&middot;</span>&#8203;file<span class="diffponct">&middot;</span>&#8203;to<span class="diffponct">&middot;</span>&#8203;send<span class="diffponct">&middot;</span>&#8203;back.&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">62 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;std:&#8203;:&#8203;string<span class="diffponct">&middot;</span>&#8203;full_path<span class="diffponct">&middot;</span>&#8203;=<span class="diffponct">&middot;</span>&#8203;doc_root_<span class="diffponct">&middot;</span>&#8203;+<span class="diffponct">&middot;</span>&#8203;request_path;&#8203;</td><td class="diffline">61 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;std:&#8203;:&#8203;string<span class="diffponct">&middot;</span>&#8203;full_path<span class="diffponct">&middot;</span>&#8203;=<span class="diffponct">&middot;</span>&#8203;doc_root_<span class="diffponct">&middot;</span>&#8203;+<span class="diffponct">&middot;</span>&#8203;request_path;&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">63 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;std:&#8203;:&#8203;ifstream<span class="diffponct">&middot;</span>&#8203;is(full_path.&#8203;c_str()&#8203;,&#8203;<span class="diffponct">&middot;</span>&#8203;std:&#8203;:&#8203;ios:&#8203;:&#8203;in<span class="diffponct">&middot;</span>&#8203;|<span class="diffponct">&middot;</span>&#8203;std:&#8203;:&#8203;ios:&#8203;:&#8203;binary)&#8203;;&#8203;</td><td class="diffline">62 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;std:&#8203;:&#8203;ifstream<span class="diffponct">&middot;</span>&#8203;is(full_path.&#8203;c_str()&#8203;,&#8203;<span class="diffponct">&middot;</span>&#8203;std:&#8203;:&#8203;ios:&#8203;:&#8203;in<span class="diffponct">&middot;</span>&#8203;|<span class="diffponct">&middot;</span>&#8203;std:&#8203;:&#8203;ios:&#8203;:&#8203;binary)&#8203;;&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">64 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;if<span class="diffponct">&middot;</span>&#8203;(!is)&#8203;</td><td class="diffline">63 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;if<span class="diffponct">&middot;</span>&#8203;(!is)&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">65 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;{</td><td class="diffline">64 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;{</td></tr>
<tr class="diffunmodified"><td class="diffline">66 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;rep<span class="diffponct">&middot;</span>&#8203;=<span class="diffponct">&middot;</span>&#8203;reply:&#8203;:&#8203;stock_reply(reply:&#8203;:&#8203;not_found)&#8203;;&#8203;</td><td class="diffline">65 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;rep<span class="diffponct">&middot;</span>&#8203;=<span class="diffponct">&middot;</span>&#8203;reply:&#8203;:&#8203;stock_reply(reply:&#8203;:&#8203;not_found)&#8203;;&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">67 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;return;&#8203;</td><td class="diffline">66 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;return;&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">68 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;}</td><td class="diffline">67 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;}</td></tr>
<tr class="diffunmodified"><td class="diffline">69 </td><td class="diffpresent"></td><td class="diffline">68 </td><td class="diffpresent"></td></tr>
<tr class="diffunmodified"><td class="diffline">70 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;Fill<span class="diffponct">&middot;</span>&#8203;out<span class="diffponct">&middot;</span>&#8203;the<span class="diffponct">&middot;</span>&#8203;reply<span class="diffponct">&middot;</span>&#8203;to<span class="diffponct">&middot;</span>&#8203;be<span class="diffponct">&middot;</span>&#8203;sent<span class="diffponct">&middot;</span>&#8203;to<span class="diffponct">&middot;</span>&#8203;the<span class="diffponct">&middot;</span>&#8203;client.&#8203;</td><td class="diffline">69 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;Fill<span class="diffponct">&middot;</span>&#8203;out<span class="diffponct">&middot;</span>&#8203;the<span class="diffponct">&middot;</span>&#8203;reply<span class="diffponct">&middot;</span>&#8203;to<span class="diffponct">&middot;</span>&#8203;be<span class="diffponct">&middot;</span>&#8203;sent<span class="diffponct">&middot;</span>&#8203;to<span class="diffponct">&middot;</span>&#8203;the<span class="diffponct">&middot;</span>&#8203;client.&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">71 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;rep.&#8203;status<span class="diffponct">&middot;</span>&#8203;=<span class="diffponct">&middot;</span>&#8203;reply:&#8203;:&#8203;ok;&#8203;</td><td class="diffline">70 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;rep.&#8203;status<span class="diffponct">&middot;</span>&#8203;=<span class="diffponct">&middot;</span>&#8203;reply:&#8203;:&#8203;ok;&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">72 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;char<span class="diffponct">&middot;</span>&#8203;buf[512];&#8203;</td><td class="diffline">71 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;char<span class="diffponct">&middot;</span>&#8203;buf[512];&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">73 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;while<span class="diffponct">&middot;</span>&#8203;(is.&#8203;read(buf,&#8203;<span class="diffponct">&middot;</span>&#8203;sizeof(buf)&#8203;)&#8203;.&#8203;gcount()&#8203;<span class="diffponct">&middot;</span>&#8203;&gt;<span class="diffponct">&middot;</span>&#8203;0)&#8203;</td><td class="diffline">72 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;while<span class="diffponct">&middot;</span>&#8203;(is.&#8203;read(buf,&#8203;<span class="diffponct">&middot;</span>&#8203;sizeof(buf)&#8203;)&#8203;.&#8203;gcount()&#8203;<span class="diffponct">&middot;</span>&#8203;&gt;<span class="diffponct">&middot;</span>&#8203;0)&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">74 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;rep.&#8203;content.&#8203;append(buf,&#8203;<span class="diffponct">&middot;</span>&#8203;is.&#8203;gcount()&#8203;)&#8203;;&#8203;</td><td class="diffline">73 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;rep.&#8203;content.&#8203;append(buf,&#8203;<span class="diffponct">&middot;</span>&#8203;is.&#8203;gcount()&#8203;)&#8203;;&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">75 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;rep.&#8203;headers.&#8203;resize(2)&#8203;;&#8203;</td><td class="diffline">74 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;rep.&#8203;headers.&#8203;resize(2)&#8203;;&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">76 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;rep.&#8203;headers[0].&#8203;name<span class="diffponct">&middot;</span>&#8203;=<span class="diffponct">&middot;</span>&#8203;&quot;Content-&#8203;Length&quot;;&#8203;</td><td class="diffline">75 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;rep.&#8203;headers[0].&#8203;name<span class="diffponct">&middot;</span>&#8203;=<span class="diffponct">&middot;</span>&#8203;&quot;Content-&#8203;Length&quot;;&#8203;</td></tr>
<tr class="diffchanged"><td class="diffline">77 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;rep.&#8203;headers[0].&#8203;value<span class="diffponct">&middot;</span>&#8203;=<span class="diffponct">&middot;</span>&#8203;<span class="diffchanged2">b</span><span class="diffchanged2">o</span><span class="diffchanged2">o</span>st<span class="diffchanged2">:&#8203;</span>:&#8203;<span class="diffchanged2">l</span><span class="diffchanged2">e</span><span class="diffchanged2">x</span><span class="diffchanged2">i</span><span class="diffchanged2">c</span><span class="diffchanged2">a</span><span class="diffchanged2">l</span><span class="diffchanged2">_</span><span class="diffchanged2">c</span><span class="diffchanged2">a</span><span class="diffchanged2">s</span><span class="diffchanged2">t</span><span class="diffchanged2">&lt;</span><span class="diffchanged2">s</span>t<span class="diffchanged2">d</span><span class="diffchanged2">:&#8203;</span><span class="diffchanged2">:&#8203;</span>string<span class="diffchanged2">&gt;</span>(rep.&#8203;content.&#8203;size()&#8203;)&#8203;;&#8203;</td><td class="diffline">76 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;rep.&#8203;headers[0].&#8203;value<span class="diffponct">&middot;</span>&#8203;=<span class="diffponct">&middot;</span>&#8203;st<span class="diffchanged2">d</span>:&#8203;<span class="diffchanged2">:&#8203;</span>t<span class="diffchanged2">o</span><span class="diffchanged2">_</span>string(rep.&#8203;content.&#8203;size()&#8203;)&#8203;;&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">78 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;rep.&#8203;headers[1].&#8203;name<span class="diffponct">&middot;</span>&#8203;=<span class="diffponct">&middot;</span>&#8203;&quot;Content-&#8203;Type&quot;;&#8203;</td><td class="diffline">77 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;rep.&#8203;headers[1].&#8203;name<span class="diffponct">&middot;</span>&#8203;=<span class="diffponct">&middot;</span>&#8203;&quot;Content-&#8203;Type&quot;;&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">79 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;rep.&#8203;headers[1].&#8203;value<span class="diffponct">&middot;</span>&#8203;=<span class="diffponct">&middot;</span>&#8203;mime_types:&#8203;:&#8203;extension_to_type(ext&#8203;ension)&#8203;;&#8203;</td><td class="diffline">78 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;rep.&#8203;headers[1].&#8203;value<span class="diffponct">&middot;</span>&#8203;=<span class="diffponct">&middot;</span>&#8203;mime_types:&#8203;:&#8203;extension_to_type(ext&#8203;ension)&#8203;;&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">80 </td><td class="diffpresent">}</td><td class="diffline">79 </td><td class="diffpresent">}</td></tr>
<tr class="diffunmodified"><td class="diffline">81 </td><td class="diffpresent"></td><td class="diffline">80 </td><td class="diffpresent"></td></tr>
<tr class="diffunmodified"><td class="diffline">82 </td><td class="diffpresent">bool<span class="diffponct">&middot;</span>&#8203;request_handler:&#8203;:&#8203;url_decode(const<span class="diffponct">&middot;</span>&#8203;std:&#8203;:&#8203;string&amp;<span class="diffponct">&middot;</span>&#8203;in,&#8203;<span class="diffponct">&middot;</span>&#8203;std:&#8203;:&#8203;string&amp;<span class="diffponct">&middot;</span>&#8203;out)&#8203;</td><td class="diffline">81 </td><td class="diffpresent">bool<span class="diffponct">&middot;</span>&#8203;request_handler:&#8203;:&#8203;url_decode(const<span class="diffponct">&middot;</span>&#8203;std:&#8203;:&#8203;string&amp;<span class="diffponct">&middot;</span>&#8203;in,&#8203;<span class="diffponct">&middot;</span>&#8203;std:&#8203;:&#8203;string&amp;<span class="diffponct">&middot;</span>&#8203;out)&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">83 </td><td class="diffpresent">{</td><td class="diffline">82 </td><td class="diffpresent">{</td></tr>
<tr class="diffunmodified"><td class="diffline">84 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;out.&#8203;clear()&#8203;;&#8203;</td><td class="diffline">83 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;out.&#8203;clear()&#8203;;&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">85 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;out.&#8203;reserve(in.&#8203;size()&#8203;)&#8203;;&#8203;</td><td class="diffline">84 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;out.&#8203;reserve(in.&#8203;size()&#8203;)&#8203;;&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">86 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;for<span class="diffponct">&middot;</span>&#8203;(std:&#8203;:&#8203;size_t<span class="diffponct">&middot;</span>&#8203;i<span class="diffponct">&middot;</span>&#8203;=<span class="diffponct">&middot;</span>&#8203;0;&#8203;<span class="diffponct">&middot;</span>&#8203;i<span class="diffponct">&middot;</span>&#8203;&lt;<span class="diffponct">&middot;</span>&#8203;in.&#8203;size()&#8203;;&#8203;<span class="diffponct">&middot;</span>&#8203;++i)&#8203;</td><td class="diffline">85 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;for<span class="diffponct">&middot;</span>&#8203;(std:&#8203;:&#8203;size_t<span class="diffponct">&middot;</span>&#8203;i<span class="diffponct">&middot;</span>&#8203;=<span class="diffponct">&middot;</span>&#8203;0;&#8203;<span class="diffponct">&middot;</span>&#8203;i<span class="diffponct">&middot;</span>&#8203;&lt;<span class="diffponct">&middot;</span>&#8203;in.&#8203;size()&#8203;;&#8203;<span class="diffponct">&middot;</span>&#8203;++i)&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">87 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;{</td><td class="diffline">86 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;{</td></tr>
<tr class="diffunmodified"><td class="diffline">88 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;if<span class="diffponct">&middot;</span>&#8203;(in[i]<span class="diffponct">&middot;</span>&#8203;==<span class="diffponct">&middot;</span>&#8203;'%')&#8203;</td><td class="diffline">87 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;if<span class="diffponct">&middot;</span>&#8203;(in[i]<span class="diffponct">&middot;</span>&#8203;==<span class="diffponct">&middot;</span>&#8203;'%')&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">89 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;{</td><td class="diffline">88 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;{</td></tr>
<tr class="diffunmodified"><td class="diffline">90 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;if<span class="diffponct">&middot;</span>&#8203;(i<span class="diffponct">&middot;</span>&#8203;+<span class="diffponct">&middot;</span>&#8203;3<span class="diffponct">&middot;</span>&#8203;&lt;=<span class="diffponct">&middot;</span>&#8203;in.&#8203;size()&#8203;)&#8203;</td><td class="diffline">89 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;if<span class="diffponct">&middot;</span>&#8203;(i<span class="diffponct">&middot;</span>&#8203;+<span class="diffponct">&middot;</span>&#8203;3<span class="diffponct">&middot;</span>&#8203;&lt;=<span class="diffponct">&middot;</span>&#8203;in.&#8203;size()&#8203;)&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">91 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;{</td><td class="diffline">90 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;{</td></tr>
<tr class="diffunmodified"><td class="diffline">92 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;int<span class="diffponct">&middot;</span>&#8203;value<span class="diffponct">&middot;</span>&#8203;=<span class="diffponct">&middot;</span>&#8203;0;&#8203;</td><td class="diffline">91 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;int<span class="diffponct">&middot;</span>&#8203;value<span class="diffponct">&middot;</span>&#8203;=<span class="diffponct">&middot;</span>&#8203;0;&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">93 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;std:&#8203;:&#8203;istringstream<span class="diffponct">&middot;</span>&#8203;is(in.&#8203;substr(i<span class="diffponct">&middot;</span>&#8203;+<span class="diffponct">&middot;</span>&#8203;1,&#8203;<span class="diffponct">&middot;</span>&#8203;2)&#8203;)&#8203;;&#8203;</td><td class="diffline">92 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;std:&#8203;:&#8203;istringstream<span class="diffponct">&middot;</span>&#8203;is(in.&#8203;substr(i<span class="diffponct">&middot;</span>&#8203;+<span class="diffponct">&middot;</span>&#8203;1,&#8203;<span class="diffponct">&middot;</span>&#8203;2)&#8203;)&#8203;;&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">94 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;if<span class="diffponct">&middot;</span>&#8203;(is<span class="diffponct">&middot;</span>&#8203;&gt;&gt;<span class="diffponct">&middot;</span>&#8203;std:&#8203;:&#8203;hex<span class="diffponct">&middot;</span>&#8203;&gt;&gt;<span class="diffponct">&middot;</span>&#8203;value)&#8203;</td><td class="diffline">93 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;if<span class="diffponct">&middot;</span>&#8203;(is<span class="diffponct">&middot;</span>&#8203;&gt;&gt;<span class="diffponct">&middot;</span>&#8203;std:&#8203;:&#8203;hex<span class="diffponct">&middot;</span>&#8203;&gt;&gt;<span class="diffponct">&middot;</span>&#8203;value)&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">95 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;{</td><td class="diffline">94 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;{</td></tr>
<tr class="diffunmodified"><td class="diffline">96 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;out<span class="diffponct">&middot;</span>&#8203;+=<span class="diffponct">&middot;</span>&#8203;static_cast&lt;char&gt;(val&#8203;ue)&#8203;;&#8203;</td><td class="diffline">95 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;out<span class="diffponct">&middot;</span>&#8203;+=<span class="diffponct">&middot;</span>&#8203;static_cast&lt;char&gt;(val&#8203;ue)&#8203;;&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">97 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;i<span class="diffponct">&middot;</span>&#8203;+=<span class="diffponct">&middot;</span>&#8203;2;&#8203;</td><td class="diffline">96 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;i<span class="diffponct">&middot;</span>&#8203;+=<span class="diffponct">&middot;</span>&#8203;2;&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">98 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;}</td><td class="diffline">97 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;}</td></tr>
<tr class="diffunmodified"><td class="diffline">99 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;else</td><td class="diffline">98 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;else</td></tr>
<tr class="diffunmodified"><td class="diffline">100 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;{</td><td class="diffline">99 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;{</td></tr>
<tr class="diffunmodified"><td class="diffline">101 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;return<span class="diffponct">&middot;</span>&#8203;false;&#8203;</td><td class="diffline">100 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;return<span class="diffponct">&middot;</span>&#8203;false;&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">102 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;}</td><td class="diffline">101 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;}</td></tr>
<tr class="diffunmodified"><td class="diffline">103 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;}</td><td class="diffline">102 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;}</td></tr>
<tr class="diffunmodified"><td class="diffline">104 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;else</td><td class="diffline">103 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;else</td></tr>
<tr class="diffunmodified"><td class="diffline">105 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;{</td><td class="diffline">104 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;{</td></tr>
<tr class="diffunmodified"><td class="diffline">106 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;return<span class="diffponct">&middot;</span>&#8203;false;&#8203;</td><td class="diffline">105 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;return<span class="diffponct">&middot;</span>&#8203;false;&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">107 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;}</td><td class="diffline">106 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;}</td></tr>
<tr class="diffunmodified"><td class="diffline">108 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;}</td><td class="diffline">107 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;}</td></tr>
<tr class="diffunmodified"><td class="diffline">109 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;else<span class="diffponct">&middot;</span>&#8203;if<span class="diffponct">&middot;</span>&#8203;(in[i]<span class="diffponct">&middot;</span>&#8203;==<span class="diffponct">&middot;</span>&#8203;'+')&#8203;</td><td class="diffline">108 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;else<span class="diffponct">&middot;</span>&#8203;if<span class="diffponct">&middot;</span>&#8203;(in[i]<span class="diffponct">&middot;</span>&#8203;==<span class="diffponct">&middot;</span>&#8203;'+')&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">110 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;{</td><td class="diffline">109 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;{</td></tr>
<tr class="diffunmodified"><td class="diffline">111 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;out<span class="diffponct">&middot;</span>&#8203;+=<span class="diffponct">&middot;</span>&#8203;'<span class="diffponct">&middot;</span>&#8203;';&#8203;</td><td class="diffline">110 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;out<span class="diffponct">&middot;</span>&#8203;+=<span class="diffponct">&middot;</span>&#8203;'<span class="diffponct">&middot;</span>&#8203;';&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">112 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;}</td><td class="diffline">111 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;}</td></tr>
<tr class="diffunmodified"><td class="diffline">113 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;else</td><td class="diffline">112 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;else</td></tr>
<tr class="diffunmodified"><td class="diffline">114 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;{</td><td class="diffline">113 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;{</td></tr>
<tr class="diffunmodified"><td class="diffline">115 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;out<span class="diffponct">&middot;</span>&#8203;+=<span class="diffponct">&middot;</span>&#8203;in[i];&#8203;</td><td class="diffline">114 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;out<span class="diffponct">&middot;</span>&#8203;+=<span class="diffponct">&middot;</span>&#8203;in[i];&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">116 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;}</td><td class="diffline">115 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;}</td></tr>
<tr class="diffunmodified"><td class="diffline">117 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;}</td><td class="diffline">116 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;}</td></tr>
<tr class="diffunmodified"><td class="diffline">118 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;return<span class="diffponct">&middot;</span>&#8203;true;&#8203;</td><td class="diffline">117 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;return<span class="diffponct">&middot;</span>&#8203;true;&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">119 </td><td class="diffpresent">}</td><td class="diffline">118 </td><td class="diffpresent">}</td></tr>
<tr class="diffunmodified"><td class="diffline">120 </td><td class="diffpresent"></td><td class="diffline">119 </td><td class="diffpresent"></td></tr>
<tr class="diffunmodified"><td class="diffline">121 </td><td class="diffpresent">}<span class="diffponct">&middot;</span>&#8203;/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;namespace<span class="diffponct">&middot;</span>&#8203;server</td><td class="diffline">120 </td><td class="diffpresent">}<span class="diffponct">&middot;</span>&#8203;/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;namespace<span class="diffponct">&middot;</span>&#8203;server</td></tr>
<tr class="diffunmodified"><td class="diffline">122 </td><td class="diffpresent">}<span class="diffponct">&middot;</span>&#8203;/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;namespace<span class="diffponct">&middot;</span>&#8203;http</td><td class="diffline">121 </td><td class="diffpresent">}<span class="diffponct">&middot;</span>&#8203;/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;namespace<span class="diffponct">&middot;</span>&#8203;http</td></tr>

</table>

<footer>
    <p>Modified at 12.12.2018. HTML formatting created by <a href="http://git.droids-corp.org/gitweb/?p=diff2html;a=summary">diff2html</a>.    </p>
</footer>
</body></html>
